home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-9.10-netbook-remix-PL.iso / casper / filesystem.squashfs / usr / share / doc / wireless-tools / README.Debian < prev    next >
Encoding:
Text File  |  2009-09-24  |  1.9 KB  |  67 lines

  1. /etc/network/interfaces
  2. -----------------------
  3.  
  4. You can now add extra statements to the iface sections of the files in
  5. /etc/network/interfaces that are specific for wireless interfaces. They are of
  6. the form:
  7.  
  8.     wireless-<function> <value>
  9.  
  10. Before the interface is brought up, such a statement will result in the
  11. execution of the following command:
  12.  
  13.     iwconfig <interface> <function> <value>
  14.  
  15. If you bring the interface down, then for each wireless-<function> statement
  16. given it will execute a corresponding iwconfig command that reverts that
  17. function back to sane defaults.  For example, if you specified a wireless-key,
  18. if you run ifdown it will set the wireless key to "off".
  19.  
  20. If you want to specify a nick, nwid or essid with spaces in them, you must not
  21. surround them with quotes.
  22.  
  23. To specify multiple keys the following statements are also available:
  24.  
  25.     wireless-key<number> <key>
  26.     wireless-defaultkey <number>
  27.     wireless-keymode restricted|open
  28.  
  29. To finetune powermanagement the following statments are also available:
  30.  
  31.     wireless-powerperiod <period>
  32.     wireless-powertimeout <timeout>
  33.  
  34. Example:
  35.  
  36. iface eth0 inet static
  37.     address 192.168.1.2
  38.     network 192.168.1.0
  39.     netmask 255.255.255.0
  40.     broadcast 192.168.1.255
  41.     wireless-essid Home
  42.     wireless-mode ad-hoc
  43.  
  44. Example of multiple keys:
  45.  
  46.     wireless-key1 0123-4567-89ab-cdef
  47.     wireless-key2 12345678
  48.     wireless-key3 s:password
  49.     wireless-defaultkey 2
  50.     wireless-keymode open
  51.  
  52. ---------------------------------------------------------------------------
  53.  
  54. rfkill/README:
  55.  
  56. This is 'rfkill', a tool to use /dev/rfkill.
  57.  
  58.  
  59. To build rfkill, just enter 'make'.
  60.  
  61. 'rfkill' is currently maintained at http://git.sipsolutions.net/rfkill.git/,
  62. some more documentation is available at
  63. http://wireless.kernel.org/en/users/Documentation/rfkill.
  64.  
  65. Please send all patches to Johannes Berg <johannes@sipsolutions.net>
  66. and CC linux-wireless@vger.kernel.org for community review.
  67.